/* 	Simple version of static checker
	From: Department of CSE
	Authors: Le Minh Vu, Nguyen Hua Phung
	Date: 15/11/2007
*/
package MP.syntaxanalysis;

import MP.CompilationException;
import MP.lexicalanalysis.Token;

public class SyntaxException extends CompilationException {

     public SyntaxException(Token e) {
	   super(e);

     }
     public String getMessage() {	
		return "Syntax error: Unexpected token: "+t;
     }
}

